from celery import Celery

app = Celery('tasks', broker="redis://:mi@o2004@192.168.0.102:6379", backend='redis://:mi@o2004@192.168.0.102:6379')


@app.task
def x1(x, y):
    return x + y


@app.task
def x2(x, y):
    return x * y
